#include <iostream>
using namespace std;
const int N = 110;
char s[N];
int main()
{
	cin >> s;
	int i = 0;
	while(s[i+1])
	{
		char tmp = s[i]  + s[i+1];
		cout << tmp;
		i++;
	}
	cout << (char)(s[0]+s[i]);	
	return 0;
 } 
